<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>    
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="<%=path %>/jquery-easyui-1.4.3/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="<%=path %>/jquery-easyui-1.4.3/themes/icon.css">
<link rel="stylesheet" type="text/css" href="<%=path %>/jquery-easyui-1.4.3/demo/demo.css">


<script type="text/javascript" src="<%=path %>/jquery-easyui-1.4.3/jquery.min.js"></script>
<script type="text/javascript" src="<%=path %>/jquery-easyui-1.4.3/jquery.easyui.min.js"></script>
<script type="text/javascript" src="<%=path %>/js/easyUI.dateFormatter.js"></script>
<script type="text/javascript" src="<%=path %>/js/Jquery.dateFormatter.js"></script>
<script type="text/javascript" src="<%=path %>/My97DatePicker/WdatePicker.js"></script>
<title>INDEX</title>
    
</head>

<body>
<c:if test="${sessionScope.user.niceName != null}">
欢迎：${sessionScope.user.niceName}
</c:if>
<input type="hidden" id="sid" value="${sessionScope.user.issuper}" />



<script type="text/javascript">
$(document).ready(function(){
	$('#loginout').bind('click',function(){
		window.location.href="<%=path%>/loginAction!loginOut";
	});
});
</script>

<c:if test="${sessionScope.user != null}">
	<a id="loginout" href="javascript:void(0)">退出</a>
</c:if>

</body>
</html>